/**
 * 主导航
 */


															//头--------------对应的内容--------整个，头+内容---------第几个-----内容中的第一个a-----------上一个的所有---------上一个的内容第一个a
_EsdDynamicTransformationScript.navTabChange = function (focusObjSelector, listObjSelector, mouseEventObjSelector, keyDownNum, listElementsSelector, prevMouseEventObjSelector, prevListObjsSelector) {
    var keydownName = "keydown.navKeydown_" + keyDownNum;
    var keydownName2 = keydownName + "_1";
    $(focusObjSelector).focus(function () {
		if ($(listObjSelector).is(":hidden")) {
			$(mouseEventObjSelector).mouseover();
		}
        $(this).bind(keydownName, function (e) {
            if (e.shiftKey && e.keyCode == 9) {
                if (prevMouseEventObjSelector != "") {
					$(focusObjSelector).mouseout();
					$(prevMouseEventObjSelector+" .pop_menu").mouseover();
					$(prevListObjsSelector).last().focus();
//					$(this).unbind(keydownName);  // 失去焦点时解绑有问题在这解绑一次
					return false;
                } else{
					$(focusObjSelector).mouseout();
					$(this).unbind(keydownName);  // 失去焦点时解绑有问题在这解绑一次
				}
            } else if (e.keyCode == 9) {
				
            }
        });

    });
    $(focusObjSelector).blur(function () {
        $(this).unbind(keydownName);
    });
	
    $(listElementsSelector).last().focus(function () {
        $(this).bind(keydownName2, function (e) {
            if (e.shiftKey && e.keyCode == 9) {
			
            } else if (e.keyCode == 9) {
                $(mouseEventObjSelector).mouseout();
            }
        });
    });
    $(listElementsSelector).last().blur(function () {
        $(this).unbind(keydownName2);
    });
};


_EsdDynamicTransformationScript.navArray = new Array();

// 导航第一个栏目
_EsdDynamicTransformationScript.nav1 = {}
_EsdDynamicTransformationScript.nav1.focusObjSelector = "#womenhall a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav1.listObjSelector = "#womenhall .pop_menu"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示  
_EsdDynamicTransformationScript.nav1.mouseEventObjSelector = "#womenhall"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav1.keyDownNum = 1; // keydown事件标识  最好不要重复 
_EsdDynamicTransformationScript.nav1.listElementsSelector = "#womenhall .pop_menu a"; // 按tab聚焦后 展示列表中a链接的选择器(展示列表中第一个a标签)
_EsdDynamicTransformationScript.nav1.prevMouseEventObjSelector = ""; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav1.prevListObjsSelector = ""; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav1);  // 放到数组里循环

// 导航第二个栏目
_EsdDynamicTransformationScript.nav2 = {}
_EsdDynamicTransformationScript.nav2.focusObjSelector = "#menhall a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav2.listObjSelector = "#menhall .pop_menu"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav2.mouseEventObjSelector = "#menhall"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav2.keyDownNum = 2; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav2.listElementsSelector = "#menhall .pop_menu a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav2.prevMouseEventObjSelector = "#womenhall"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav2.prevListObjsSelector = "#womenhall .pop_menu a"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav2);  // 放到数组里循环

// 导航第三个栏目
_EsdDynamicTransformationScript.nav3 = {}
_EsdDynamicTransformationScript.nav3.focusObjSelector = "#womenclothing a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav3.listObjSelector = "#womenclothing .pop_menu"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav3.mouseEventObjSelector = "#womenclothing"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav3.keyDownNum = 3; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav3.listElementsSelector = "#womenclothing .pop_menu a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav3.prevMouseEventObjSelector = "#menhall"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav3.prevListObjsSelector = "#menhall .pop_menu a"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav3);  // 放到数组里循环

// 导航第四个栏目
_EsdDynamicTransformationScript.nav4 = {}
_EsdDynamicTransformationScript.nav4.focusObjSelector = "#menclothing a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav4.listObjSelector = "#menclothing .pop_menu"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav4.mouseEventObjSelector = "#menclothing"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav4.keyDownNum = 4; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav4.listElementsSelector = "#menclothing .pop_menu a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav4.prevMouseEventObjSelector = "#womenclothing"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav4.prevListObjsSelector = "#womenclothing .pop_menu a"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArray.push(_EsdDynamicTransformationScript.nav4);  // 放到数组里循环


for(var i=0; i<_EsdDynamicTransformationScript.navArray.length; i++){

	_EsdDynamicTransformationScript.navTabChange(_EsdDynamicTransformationScript.navArray[i].focusObjSelector, _EsdDynamicTransformationScript.navArray[i].listObjSelector, 
		_EsdDynamicTransformationScript.navArray[i].mouseEventObjSelector, _EsdDynamicTransformationScript.navArray[i].keyDownNum, _EsdDynamicTransformationScript.navArray[i].listElementsSelector,
		_EsdDynamicTransformationScript.navArray[i].prevMouseEventObjSelector, _EsdDynamicTransformationScript.navArray[i].prevListObjsSelector);
}


// 导航第五个栏目
_EsdDynamicTransformationScript.nav5 = {}
_EsdDynamicTransformationScript.nav5.focusObjSelector = "#nav_menu .nav_link:eq(5)"; //按tab聚焦元素的选择器


_EsdDynamicTransformationScript.navArrayy = new Array();

// 导航第六个栏目
_EsdDynamicTransformationScript.nav6 = {}
_EsdDynamicTransformationScript.nav6.focusObjSelector = "#luggagehall a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav6.listObjSelector = "#luggagehall .pop_menu"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示  
_EsdDynamicTransformationScript.nav6.mouseEventObjSelector = "#luggagehall"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav6.keyDownNum = 6; // keydown事件标识  最好不要重复 
_EsdDynamicTransformationScript.nav6.listElementsSelector = "#luggagehall .pop_menu a"; // 按tab聚焦后 展示列表中a链接的选择器(展示列表中第一个a标签)
_EsdDynamicTransformationScript.nav6.prevMouseEventObjSelector = ""; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav6.prevListObjsSelector = ""; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArrayy.push(_EsdDynamicTransformationScript.nav6);  // 放到数组里循环

// 导航第七个栏目
_EsdDynamicTransformationScript.nav7 = {}
_EsdDynamicTransformationScript.nav7.focusObjSelector = "#childrenhall a:eq(0)"; //按tab聚焦元素的选择器
_EsdDynamicTransformationScript.nav7.listObjSelector = "#childrenhall .pop_menu"; // 按tab聚焦后展示列表选择器 用来判断列表是否已经展示
_EsdDynamicTransformationScript.nav7.mouseEventObjSelector = "#childrenhall"; // 按tab聚焦后展示的列表所使用的鼠标事件绑定的元素 
_EsdDynamicTransformationScript.nav7.keyDownNum = 7; // keydown事件标识  最好不要重复
_EsdDynamicTransformationScript.nav7.listElementsSelector = "#childrenhall .pop_menu a"; // 按tab聚焦后 展示列表中a链接的选择器
_EsdDynamicTransformationScript.nav7.prevMouseEventObjSelector = "#luggagehall"; //上一个相邻的鼠标事件(mouseover)的元素 如果是向上切换没有就使用空字符串""
_EsdDynamicTransformationScript.nav7.prevListObjsSelector = "#luggagehall .pop_menu a"; // 上一个相邻的展示列表中a链接的选择器

_EsdDynamicTransformationScript.navArrayy.push(_EsdDynamicTransformationScript.nav7);  // 放到数组里循环



for(var i=0; i<_EsdDynamicTransformationScript.navArrayy.length; i++){
	_EsdDynamicTransformationScript.navTabChange(_EsdDynamicTransformationScript.navArrayy[i].focusObjSelector, _EsdDynamicTransformationScript.navArrayy[i].listObjSelector, 
		_EsdDynamicTransformationScript.navArrayy[i].mouseEventObjSelector, _EsdDynamicTransformationScript.navArrayy[i].keyDownNum, _EsdDynamicTransformationScript.navArrayy[i].listElementsSelector,
		_EsdDynamicTransformationScript.navArrayy[i].prevMouseEventObjSelector, _EsdDynamicTransformationScript.navArrayy[i].prevListObjsSelector);
}

//导航第五块的倒叙
$(_EsdDynamicTransformationScript.nav5.focusObjSelector).focus(function(){
	$(this).bind("keydown.navKeydown_5", function (e) {
		if(e.shiftKey&&e.keyCode==9){
			$(_EsdDynamicTransformationScript.nav4.focusObjSelector).mouseover();
			$(_EsdDynamicTransformationScript.nav4.listElementsSelector).last().focus();
			return false;
		}
	});
});

$(_EsdDynamicTransformationScript.nav5.focusObjSelector).blur(function(){
	$(this).unbind("keydown.navKeydown_5");
});




// 将iframe所包含的a链接数 第一个a元素 最后一个a元素赋值给第一个参数的js对象
_EsdDynamicTransformationScript.getIframeInfos = function(jsObj,iframeObj){
	jsObj.aLink_num = iframeObj.contentWindow.document.getElementsByTagName("a").length;
	jsObj.first_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[0];
	jsObj.last_aLink = iframeObj.contentWindow.document.getElementsByTagName("a")[jsObj.aLink_num-1];
	jsObj.self = iframeObj;
};

// 声明iframe操作对象
_EsdDynamicTransformationScript.iframe1 = {};
_EsdDynamicTransformationScript.iframe2 = {};

//通过方法赋值   
_EsdDynamicTransformationScript.iframeElement1 = document.getElementsByTagName("iframe")[0];   // 需要修改 这里的iframe获取
_EsdDynamicTransformationScript.iframeElement2 = document.getElementsByTagName("iframe")[1];   // 需要修改 这里的iframe获取


//选项卡标签 jquery对象
_EsdDynamicTransformationScript.iframeTab1 = $("#menhall_menu .topc .w534 .tabbox ul li:eq(0) a");  // 需要修改 这里的tab获取
_EsdDynamicTransformationScript.iframeTab2 = $("#menhall_menu .topc .w534 .tabbox ul li:eq(1) a");  // 需要修改 这里的tab获取


// 判断iframe是否有效
if((_EsdDynamicTransformationScript.iframeElement1!=undefined) && (_EsdDynamicTransformationScript.iframeElement2!=undefined)){

	// 当iframe都加载完毕后执行代码 使用setInterval
	_EsdDynamicTransformationScript.iframeInterval = setInterval(function(){	
		
		if((_EsdDynamicTransformationScript.iframeElement1.contentWindow.document.getElementsByTagName("a")[0]!=undefined) 
				&& (_EsdDynamicTransformationScript.iframeElement2.contentWindow.document.getElementsByTagName("a")[0]!=undefined) ){
			clearInterval(_EsdDynamicTransformationScript.iframeInterval);
			
			//通过方法赋值   
			_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe1,_EsdDynamicTransformationScript.iframeElement1);  
			_EsdDynamicTransformationScript.getIframeInfos(_EsdDynamicTransformationScript.iframe2,_EsdDynamicTransformationScript.iframeElement2); 

		//第一个标签 切换
		_EsdDynamicTransformationScript.iframeTab1.focus(function (e) {
			console.log("tab1获取到焦点");
			e = $(this).mouseover();
			$(this).bind("keydown.iframeKeydown_1", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					console.log("tab1向回切换");
					_EsdDynamicTransformationScript.iframeTab1.trigger("blur");
				} else if (e.keyCode == 9) {
					console.log("tab1继续切换到iframe上");
					_EsdDynamicTransformationScript.iframeTab1.trigger("blur");
					$(_EsdDynamicTransformationScript.iframe1.self).focus();
					console.log(document.activeElement);
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.iframeTab1.blur(function () {
			$(this).unbind("keydown.iframeKeydown_1");
		});

		// 第一个标签的第一个链接
		$(_EsdDynamicTransformationScript.iframe1.first_aLink).focus(function () {
			console.log("第一个iframe的第一条获得焦点");
			$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).bind("keydown.iframeKeydown_first1", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					console.log("第一个iframe的第一条向上切换");
					$(this).trigger("blur");
					_EsdDynamicTransformationScript.iframeTab1.focus();
					return false;
				} else if (e.keyCode == 9) {
					console.log("第一个iframe的第一条继续切换");
				}
			});
		});
		$(_EsdDynamicTransformationScript.iframe1.first_aLink).blur(function () {
			$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).unbind("keydown.iframeKeydown_first1");
		});

		// 第一个标签的最后一个链接
		$(_EsdDynamicTransformationScript.iframe1.last_aLink).focus(function () {
			console.log("第一个iframe的最后一条获得焦点");
			$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).bind("keydown.iframeKeydown_first1", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					console.log("第一个iframe的最后一条向上切换");
				} else if (e.keyCode == 9) {
					console.log("第一个iframe的最后一条继续切换 到下一个标签");
					 $(this).trigger("blur");
					_EsdDynamicTransformationScript.iframeTab2.focus();
					return false;
				}
			});
		});
		$(_EsdDynamicTransformationScript.iframe1.last_aLink).blur(function () {
			$(_EsdDynamicTransformationScript.iframe1.self.contentWindow.document).unbind("keydown.iframeKeydown_first1");
		});


		//第二个标签切换
		_EsdDynamicTransformationScript.iframeTab2.focus(function (e) {
			console.log("tab2获取到焦点");
			e = $(this).mouseover();
			$(this).bind("keydown.iframeKeydown_2", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					console.log("第二个标签向回切换 到第一个标签的最后一条");
					_EsdDynamicTransformationScript.iframeTab2.trigger("blur");
					_EsdDynamicTransformationScript.iframeTab1.mouseover();
					$(_EsdDynamicTransformationScript.iframe1.last_aLink).focus();
					return false;
				} else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.iframeTab2.trigger("blur");
					$(_EsdDynamicTransformationScript.iframe2.self).focus();
					console.log(document.activeElement);
					return false;
				}
			});

		});
		_EsdDynamicTransformationScript.iframeTab2.blur(function () {
			$(this).unbind("keydown.iframeKeydown_2");
		});


		}
	}, 500);

}
 



//第一部分
	//二层  

	//各个选项名称对应的内容数量
	 _EsdDynamicTransformationScript.num1 = $(".topc .w730 .tabbox .content div:eq(0) a").length-1;
	 _EsdDynamicTransformationScript.num2 = $(".topc .w730 .tabbox .content div:eq(1) a").length-1;
	
	//各个选项名称
	 _EsdDynamicTransformationScript.esd1TagNum1 = $(".topc .w730 .tabbox ul li:eq(0) a");
	 _EsdDynamicTransformationScript.esd1TagNum2 = $(".topc .w730 .tabbox ul li:eq(1) a");
	
	//各个选项中的第一个内容
	 _EsdDynamicTransformationScript.esd1TagNum1Content1 = $(".topc .w730 .tabbox .content div:eq(0) a:eq(0)");
	 _EsdDynamicTransformationScript.esd1TagNum2Content1 = $(".topc .w730 .tabbox .content div:eq(1) a:eq(0)");
	
	//各个选项中的最后一个内容
	 _EsdDynamicTransformationScript.esd1TagNum1ContentN = $(".topc .w730 .tabbox .content div:eq(0) a:eq("+_EsdDynamicTransformationScript.num1+")");
	 _EsdDynamicTransformationScript.esd1TagNum2ContentN = $(".topc .w730 .tabbox .content div:eq(1) a:eq("+_EsdDynamicTransformationScript.num2+")");
	
	//第一块
	_EsdDynamicTransformationScript.esd1TagNum1.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum1Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1.blur(function () {
		$(this).unbind("keydown.keydown_1");
	});

	_EsdDynamicTransformationScript.esd1TagNum1Content1.focus(function () {
		$(this).bind("keydown.keydown_s1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1Content1.blur(function () {
		$(this).unbind("keydown.keydown_s1");
	});

	_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus(function () {
		$(this).bind("keydown.keydown_e1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum1ContentN.blur(function () {
		$(this).unbind("keydown.keydown_e1");
	});
	
	//第二块
	_EsdDynamicTransformationScript.esd1TagNum2.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind("keydown.keydown_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esd1TagNum1.mouseover();
				_EsdDynamicTransformationScript.esd1TagNum1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esd1TagNum2Content1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esd1TagNum2.blur(function () {
		$(this).unbind("keydown.keydown_2");
	});

	
	//第二部分
		
		//各个选项名称对应的内容数量
		 _EsdDynamicTransformationScript.num3 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(0) a").length-1;
		 _EsdDynamicTransformationScript.num4 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(1) a").length-1;
		 _EsdDynamicTransformationScript.num5 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(2) a").length-1;
		 _EsdDynamicTransformationScript.num6 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(3) a").length-1;
		
		//各个选项名称
		 _EsdDynamicTransformationScript.esd2TagNum1 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox ul li:eq(0) a");
		 _EsdDynamicTransformationScript.esd2TagNum2 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox ul li:eq(1) a");
		 _EsdDynamicTransformationScript.esd2TagNum3 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox ul li:eq(2) a");
		 _EsdDynamicTransformationScript.esd2TagNum4 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox ul li:eq(3) a");
		
		//各个选项中的第一个内容
		 _EsdDynamicTransformationScript.esd2TagNum1Content1 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(0) a:eq(0)");
		 _EsdDynamicTransformationScript.esd2TagNum2Content1 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(1) a:eq(0)");
		 _EsdDynamicTransformationScript.esd2TagNum3Content1 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(2) a:eq(0)");
		 _EsdDynamicTransformationScript.esd2TagNum4Content1 = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(3) a:eq(0)");
		
		//各个选项中的最后一个内容
		 _EsdDynamicTransformationScript.esd2TagNum1ContentN = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(0) a:eq("+_EsdDynamicTransformationScript.num3+")");
		 _EsdDynamicTransformationScript.esd2TagNum2ContentN = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(1) a:eq("+_EsdDynamicTransformationScript.num4+")");
		 _EsdDynamicTransformationScript.esd2TagNum3ContentN = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(2) a:eq("+_EsdDynamicTransformationScript.num5+")");
		 _EsdDynamicTransformationScript.esd2TagNum4ContentN = $("#luggagehall #luggagehall_menu .topc .w654 .tabbox .content div:eq(3) a:eq("+_EsdDynamicTransformationScript.num6+")");
		
		//第一块
		_EsdDynamicTransformationScript.esd2TagNum1.focus(function (e) {
			e = $(this).mouseover();
			$(this).bind("keydown.keydown_1", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					
				}else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd2TagNum1Content1.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd2TagNum1.blur(function () {
			$(this).unbind("keydown.keydown_1");
		});

		_EsdDynamicTransformationScript.esd2TagNum1Content1.focus(function () {
			$(this).bind("keydown.keydown_s1", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd2TagNum1.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd2TagNum1Content1.blur(function () {
			$(this).unbind("keydown.keydown_s1");
		});

		_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus(function () {
			$(this).bind("keydown.keydown_e1", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					
				}else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd2TagNum2.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd2TagNum1ContentN.blur(function () {
			$(this).unbind("keydown.keydown_e1");
		});
		
		//第二块
		_EsdDynamicTransformationScript.esd2TagNum2.focus(function (e) {
			e = $(this).mouseover();
			$(this).bind("keydown.keydown_2", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					_EsdDynamicTransformationScript.esd2TagNum1.mouseover();
					_EsdDynamicTransformationScript.esd2TagNum1ContentN.focus();
					return false;
				}else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd2TagNum2Content1.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd2TagNum2.blur(function () {
			$(this).unbind("keydown.keydown_2");
		});

		_EsdDynamicTransformationScript.esd2TagNum2Content1.focus(function () {
			$(this).bind("keydown.keydown_s2", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd2TagNum2.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd2TagNum2Content1.blur(function () {
			$(this).unbind("keydown.keydown_s2");
		});

		_EsdDynamicTransformationScript.esd2TagNum2ContentN.focus(function () {
			$(this).bind("keydown.keydown_e2", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					
				}else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd2TagNum3.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd2TagNum2ContentN.blur(function () {
			$(this).unbind("keydown.keydown_e2");
		});
		
		//第三块
		_EsdDynamicTransformationScript.esd2TagNum3.focus(function (e) {
			console.log(3);
			e = $(this).mouseover();
			$(this).bind("keydown.keydown_3", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					_EsdDynamicTransformationScript.esd2TagNum2.mouseover();
					_EsdDynamicTransformationScript.esd2TagNum2ContentN.focus();
					return false;
				}else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd2TagNum3Content1.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd2TagNum3.blur(function () {
			$(this).unbind("keydown.keydown_3");
		});

		_EsdDynamicTransformationScript.esd2TagNum3Content1.focus(function () {
			$(this).bind("keydown.keydown_s3", function (e) {
				if (e.shiftKey && e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd2TagNum3.focus();
					return false;
				}
			});
		});

		_EsdDynamicTransformationScript.esd2TagNum3Content1.blur(function () {
			$(this).unbind("keydown.keydown_s3");
		});

		_EsdDynamicTransformationScript.esd2TagNum3ContentN.focus(function () {
			$(this).bind("keydown.keydown_e3", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					
				}else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd2TagNum4.focus();
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd2TagNum3ContentN.blur(function () {
			$(this).unbind("keydown.keydown_e3");
		});
		
		
		//第四块
		_EsdDynamicTransformationScript.esd2TagNum4.focus(function (e) {
			e = $(this).mouseover();
			$(this).bind("keydown.keydown_4", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					_EsdDynamicTransformationScript.esd2TagNum3.mouseover();
					_EsdDynamicTransformationScript.esd2TagNum3ContentN.focus();
					return false;
				}else if (e.keyCode == 9) {
					_EsdDynamicTransformationScript.esd2TagNum4Content1.focus();
					console.log(document.activeElement);
					return false;
				}
			});
		});
		_EsdDynamicTransformationScript.esd2TagNum4.blur(function () {
			$(this).unbind("keydown.keydown_4");
		});


		//针对所有页面，nav后的第一个a倒切返回nav的最后一个a
		 _EsdDynamicTransformationScript.esdNavNextA = $("body > .topc:eq(0) a:first");
		 
		_EsdDynamicTransformationScript.esdNavNextA.focus(function (e) {
			$(this).bind("keydown.keydownN_0", function (e) {
				if(e.shiftKey&&e.keyCode==9){
					$(_EsdDynamicTransformationScript.nav7.focusObjSelector).mouseover()
					$(_EsdDynamicTransformationScript.nav7.listElementsSelector).last().focus();
					return false;
				}else if (e.keyCode == 9) {
	
				}
			});
		});
		_EsdDynamicTransformationScript.esdNavNextA.blur(function () {
			$(this).unbind("keydown.keydownN_0");
		});